package com.wogu.jwa.web.admin.forms;

import com.wogu.form.Form;
import com.wogu.form.annotation.*;

public class MenuForm extends Form {
	
	@RegExp("^\\d+$")
	public String id;
	
	@RegExp("^\\d+$")
	public String[] parents;
	
	@Required
	@RegExp("^[a-zA-Z0-9_\\-\\u4E00-\\uFA29\\uE7C7-\\uE7F3]+$")
	public String menuname;
	
	@RegExp("^[a-z0-9_]+$")
	public String c;
	
	@RegExp("^[a-z0-9_]+$")
	public String a;
	
	@Required
	@RegExp("^\\d+$")
	public String notshow;
	
	@RegExp("^\\d+$")
	public String open;
	
	@RegExp("^\\d+$")
	public String[] groups;
	
	@RegExp("^\\d+$")
	public String usetochild;
}